package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallDistributionLog;
import org.linlinjava.litemall.db.domain.LitemallDistributionLogExample;

public interface LitemallDistributionLogMapper extends MPJBaseMapper<LitemallDistributionLog> {
    long countByExample(LitemallDistributionLogExample example);

    int deleteByExample(LitemallDistributionLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallDistributionLog record);

    int insertSelective(LitemallDistributionLog record);

    LitemallDistributionLog selectOneByExample(LitemallDistributionLogExample example);

    LitemallDistributionLog selectOneByExampleSelective(@Param("example") LitemallDistributionLogExample example, @Param("selective") LitemallDistributionLog.Column ... selective);

    List<LitemallDistributionLog> selectByExampleSelective(@Param("example") LitemallDistributionLogExample example, @Param("selective") LitemallDistributionLog.Column ... selective);

    List<LitemallDistributionLog> selectByExample(LitemallDistributionLogExample example);

    LitemallDistributionLog selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallDistributionLog.Column ... selective);

    LitemallDistributionLog selectByPrimaryKey(Integer id);

    LitemallDistributionLog selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LitemallDistributionLog record, @Param("example") LitemallDistributionLogExample example);

    int updateByExample(@Param("record") LitemallDistributionLog record, @Param("example") LitemallDistributionLogExample example);

    int updateByPrimaryKeySelective(LitemallDistributionLog record);

    int updateByPrimaryKey(LitemallDistributionLog record);

    int logicalDeleteByExample(@Param("example") LitemallDistributionLogExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}
